import { IProperty, ISaleProperty } from '@/service/api/type/category.type'
import { IAttr, ISortField, ISortMethod } from '@/service/api/type/goods.type'
export interface ISubBreadData {
  id: string
  name: string
  parentId: string
  parentName: string
}

export interface ISaleProperties extends ISaleProperty {
  properties: (IProperty & { flag: boolean })[]
}

export type IOptions = {
  brandId: string | null
  attrs: IAttr[] | null
}

export type SortOptions = {
  inventory: boolean
  onlyDiscount: boolean
  sortField: ISortField
  sortMethod: ISortMethod
}
